package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Role;

import java.util.List;

public interface RoleService {
    List<Role> findAll();

    List<Integer> findRoleIdsByMenuId(Integer id);

    void add(Role role);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void edit(Role role);

    void deleteById(Integer id);
}
